package com.gitee.huanminabc.fastboot.web.servlet;

import com.gitee.huanminabc.nullchain.common.NullResult;

/**
 * @description:
 * @author: huanmin
 * @create: 2025-04-01 18:00
 **/
public interface InterfaceExceptionEvent {
    //需要拦截异常
    Class<? extends Throwable> interceptException();
    //处理异常 响应给前端
    NullResult<?> exceptionHandler(Throwable  e);
}
